#!/usr/bin/env python
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import patterns

urlpatterns = patterns('link.views',
						(r'^(?P<item_id>\d+)/$', 'link'),
						(r'^add/(?P<document_id>\d+)/$', 'add_link'),
						(r'^add/(?P<module_part_id>\d+)/(?P<module_term_id>\d+)/$', 'add_document_link'),
                        (r'^change/(?P<item_id>\d+)/$', 'change_link'),
                        (r'^delete/(?P<item_id>\d+)/$', 'delete_link'),
                      )